package org.hxd.dept.service;

import org.apache.ibatis.annotations.Param;
import org.hxd.pojo.Dept;
import org.hxd.units.PageModel;

import java.util.List;

public interface DeptService {
    List<Dept> findDept(PageModel pageModel,String name);

    int findDeptCount(Dept dept);

    Dept findDeptByid(Integer id);

    int modifyDept(Dept dept);

    int addDept(Dept dept);

    int removeDept(Integer[] ids);
}
